﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.BaseInformation;


namespace TyMES.ViewModel.BaseInformation.ProduceDataTypeVMs
{
    public partial class ProduceDataTypeBatchVM : BaseBatchVM<ProduceDataType, ProduceDataType_BatchEdit>
    {
        public ProduceDataTypeBatchVM()
        {
            ListVM = new ProduceDataTypeListVM();
            LinkedVM = new ProduceDataType_BatchEdit();
        }

    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class ProduceDataType_BatchEdit : BaseVM
    {
        [Display(Name = "产线号")]
        public String lineCode { get; set; }
        [Display(Name = "工位号")]
        public String stationCode { get; set; }
        [Display(Name = "数据类型")]
        public String dataType { get; set; }
        [Display(Name = "数据名表")]
        public String nameTable { get; set; }
        [Display(Name = "工单号")]
        public String orderCode { get; set; }
        [Display(Name = "排程号")]
        public String scheduleCode { get; set; }
        [Display(Name = "设备编码")]
        public String machineCode { get; set; }

        protected override void InitVM()
        {
        }

    }

}
